home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000213_fdc@columbia.edu_Sun Aug 10 13:44:19 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  53 lines

  1. Article: 14450 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Is this possible
  6. Date: 10 Aug 2003 13:43:49 -0400
  7. Organization: Columbia University
  8. Lines: 36
  9. Message-ID: <bh608l$elb$1@watsol.cc.columbia.edu>
  10. References: <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1060537430 29209 128.59.39.139 (10 Aug 2003 17:43:50 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 10 Aug 2003 17:43:50 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14450
  16.  
  17. In article <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>,
  18. nospam <bruceradtke@REMOVEspamREMOVE.earthlink.net> wrote:
  19. : My question is whether kermit scripts could handle the following scenario.
  20. : I've done a few simple scripts but this would entail dialing up into a
  21. : network,  connecting with one user/password for Unix network,  and then
  22. : ftp'ing to a Windows machine as another user/password.
  23. : My end user is a retail store, "the client",   and is running SCO Unix.  It
  24. : uses a kermit script to dialup into a "private" network ( ie: the corporate
  25. : network) at the end of the day.   It connects to the corporate network with
  26. : its corporate userid & password.
  27. : Upon connection,  it then ftps a file to an NT./XP Windows box hanging off
  28. : of the network.  The ftp connection on the Windows box will be a different
  29. : userid & password then the Unix login.  ( I'm developing software for this
  30. : NT machine to process this end of the day file from the retail client.)
  31. : 1)  Can I script connection with 1 login userid & then FTP to a machine as
  32. : another userid?
  33. You've already scripted the login to the first machine.  At this point you
  34. the script can automate starting the FTP client on Unix, making the connection
  35. to NT, and transferrring files.  As far as the Kermit script is concerned,
  36. it's just text -- INPUT this, OUTPUT that.
  37.  
  38. : 2)  The other wrinkle is that the client does not have a 'proper' IP
  39. : address.  Most likely it will be 192.168.1.1 - the IP address handed to the
  40. : machine from the router.   Will this at all prevent the machine from doing
  41. : an FTP to the Windows box?    I would think it would need a valid IP address
  42. : to do an FTP session.
  43. If you can do it by hand, you can script it.  See:
  44.  
  45.   http://www.columbia.edu/kermit/ckscripts.html#tut
  46.  
  47. - Frank
  48.